<?php
/*
Plugin Name: Active Preview
Plugin URI: http://code.google.com/p/wpactivepreview/
Description: This plugin creates a new preview button on the edit page and when pressed the resulting window is active, updating in real-time when you change the post.
Author: Chris Upton
Version: 1.0
Author URI: http://heapdump.wordpress.com
*/
function insertjavascript() {
	echo '<script src="'.WP_PLUGIN_URL.'/active-preview/active-preview.js" type="text/javascript"/>';
}

// Now we set that function up to execute when the admin_footer action is called
add_action('admin_footer', 'insertjavascript');


?>
